var config = {
  '.chosen-select'           : {},
  '.chosen-select-deselect'  : { allow_single_deselect: true },
  '.chosen-select-no-single' : { disable_search_threshold: 10 },
  '.chosen-select-no-results': { no_results_text: 'Oops, nothing found!' },
  '.chosen-select-rtl'       : { rtl: true },
  '.chosen-select-width'     : { width: '95%' }
}
for (var selector in config) {
  $(selector).chosen(config[selector]);
}


$('#chosen-select-no-results option[value="Giant Panda"]').attr("disabled", "disabled");
$('#chosen-select-no-results option[value="Brown Bear"]').hide();
//$("#tbParBudCode").chosen("destroy").chosen();
$('#chosen-select-no-results').trigger("chosen:updated").chosen();